depth and magnitude